package com.ruoyi.gp.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购物平台业务对象 shopping_platform
 *
 * @author ruoyi
 * @date 2024-03-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ShoppingPlatformBo extends BaseEntity {

    /**
     * 商城id
     */
    @NotNull(message = "商城id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 商城名称
     */
    @NotBlank(message = "商城名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shoppingPlatformName;

    /**
     * 商城url地址
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;

    /**
     * 医生id
     */
    @NotNull(message = "医生id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long doctorId;


}
